package com.mzj.saas.sdk.refund.vo;

import java.math.BigDecimal;

/**
 * 支付宝退款请求参数
 * @author hp
 *
 */
public class AliRefund {
	
	
	public AliRefund() {}
	
	
	public AliRefund(String appId,String privateKey,String publicKey,String outTradeNo,String tradeNo,BigDecimal refundAmount,String outRequestNo) {
		this.appId = appId;
		this.privateKey =privateKey;
		this.publicKey = publicKey;
		this.outTradeNo = outTradeNo;
		this.tradeNo = tradeNo;
		this.refundAmount = refundAmount;
		this.outRequestNo = outRequestNo;
	}
	
	
	/**
	 * 商户订单号(必填)
	 */
	private String appId;
	/**
	 * 应用私钥(必填)
	 */
	private String privateKey;
	/**
	 * 应用公钥(必填)
	 */
	private String publicKey;
	/**
	 * 商户订单号(支付宝交易号二选一)
	 */
	private String outTradeNo;
	/**
	 * 支付宝交易号(商户订单号二选一)
	 */
	private String tradeNo;
	/**
	 * 退款的金额
	 */
	private BigDecimal refundAmount;
	
	/**
	 * 标识一次退款请求，同一笔交易多次退款需要保证唯一，如需部分退款，则此参数必传
	 */
	private String outRequestNo;
	
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getPrivateKey() {
		return privateKey;
	}
	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}
	public String getPublicKey() {
		return publicKey;
	}
	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public BigDecimal getRefundAmount() {
		return refundAmount;
	}
	public void setRefundAmount(BigDecimal refundAmount) {
		this.refundAmount = refundAmount;
	}

	public String getOutRequestNo() {
		return outRequestNo;
	}


	public void setOutRequestNo(String outRequestNo) {
		this.outRequestNo = outRequestNo;
	}
}
